Inguinal hernia repair with dynamic prosthesis